You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Ceil Method > Math387.Ceil Method ([In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.Ceil Method ([In] double)

Round towards positive infinity.

Syntax
C#
Visual Basic
public static long Ceil([In] double X);

the smallest integer greater than or equal to X. 

Ceil(-2.8) = -2 

Ceil(2.8) = 3 

Ceil(-1.0) = -1  

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!